import {simple} from '../../api/base/users'
const userInfo = {
  namespaced: true,
  state: {
    userSimpleList: {},
  },
  mutations: {
    SET_USER_SIMLE_LIST: (state, newValue) => {
      state.userSimpleList = newValue
    },

  },
  actions: {
    async updateUserSimpleList (context, data) {
      const res = await simple(data)
      context.commit('SET_USER_SIMLE_LIST', res)
    },
  }
}

export default userInfo
